#ifndef ACCOUNTWIDGET_H
#define ACCOUNTWIDGET_H

#include <QWidget>
#include <QLabel>
#include <QTableWidget>
#include "core/account.h"

class AccountWidget : public QWidget, public AccountListener
{
    Q_OBJECT

public:
    AccountWidget(QWidget *parent = 0);
    void updateContents();
    void onAccountChanged();

private:
    QLabel *m_accountLabel;
    QTableWidget *m_accountWidget;
};

#endif